package com.turnengine.client.local.upkeep;

import java.util.Collection;
import java.util.List;

import com.turnengine.client.local.unit.bean.IUnit;
import com.turnengine.client.local.upkeep.bean.IUpkeep;
import com.turnengine.client.local.upkeep.bean.IUpkeepCondition;

public interface IUpkeepCache {

	void addUpkeeps(Collection<IUpkeep> upkeeps);

	void addUpkeep(IUpkeep upkeep);

	void addConditions(Collection<IUpkeepCondition> conditions);

	void addCondition(IUpkeepCondition condition);

	List<IUpkeep> getUpkeeps();

	List<IUpkeepCondition> getConditions();

	IUpkeepDefinition getDefinition(IUnit unit);

	IUpkeepDefinition getDefinition(int unitId);

	IUpkeepDefinition getDefinition(IUpkeep upkeep);

}
